Trash It!

What is it?
This AppleScript force-empties your Trash. Especially useful if you have files or folders in the Trash with permissions set incorrectly or trash items from other partitions. If you drop files or folders onto the Trash It! icon, it will move them to the trash and immediately delete them. Trash It! should be used when:
1. You can't get rid of trash items manually.
2. You can't move items to the trash.
3. You have a large number of items to delete (i.e., previous system folders).
4. You just like using cool scripts. :)

This is not a Finder trash can replacement! It should be used as a last resort. 

As some of you may know, the cost of hosting a site can be expensive, as is the time to maintain, update, and release new versions. If you would like to make a donation, please go to www.nonamescriptware.com and click on the Donate Now! button at the bottom of the page. Any amount is greatly appreciated!

System Requirements:
• Mac OS X 10.1.5 or higher. Will work with Jaguar.
• 24U Appearance OSAX (included) -- If it's not installed, will ask you to run the installer.

Installation and Usage:
Unstuff the archive. Then move the Trash It! folder anywhere on your computer.  You can subsequently move the Trash It! icon in the folder to anywhere on your computer. If you drop a folder or files onto Trash It!, it will move it to the trash and delete it. If you double-click on Trash It!, or run it from the Scripts menu, it will delete your trash. All options are non-reversible so be careful with what you delete! You will have a chance to cancel the operation if you change your mind at the password screen.

License:
Freeware, run-only

Warranty:
This script has been provided "AS IS" and the responsibility for its operation is yours. I will provide as much technical support as I can, but no warranties are given, expressed, or implied.

Version 2.7 changes:
• Checks for BSD Subsystem on launch. If it's not installed, will alert you to this fact.
• Checks the validity of your Admin password, and on error, will ask you to reenter or to log out and back in as Admin User.
• General code enhancements.

Special thanks to Craig Freger for his wonderful suggestions and "beta" testing.

Contact Information:
Please send me any bug reports, comments, suggestions, etc...:
Thomas Neveu (bostmass@mac.com)
NoName Scriptware (www.nonamescriptware.com)

You may incorporate this code into your program(s) without restriction and the source code is available upon request for persons wishing to embed their admin password.   Please treat this script in the spirit of Open Source. If you adapt, extend or improve it, let me know! You are free to distribute this script as long as you include the enclosed files with the program.